package k3_IO.p1_file.demo04;

public class Fibonacci {

    public static int getN(int n){
        if(n==1 || n==2){
            return 1;
        }
        return getN(n-1)+getN(n-2);
    }

    public static void main(String[] args) {

        System.out.println(Fibonacci.getN(10));

    }
}
